package com.jinghangzz.ssm.demo.pojo;

import java.util.Date;

/**
 * 皇上的pojo
 * 
 * @author TeaBig
 */
public class ADemoKing
{
	private int id;
	private int dynastyId;
	private String name;
	private String content;
	private String miaoHao;
	private String nianHao;
	private int age;
	private byte status;
	private Date createTime;
	private Date updateTime;
	private Date pubTime;

	/* 单个引用 */
	private ADemoDynasty demoDynasty ; 
	
	public int getId()
	{
		return id;
	}

	public void setId(int id)
	{
		this.id = id;
	}

	public int getDynastyId()
	{
		return dynastyId;
	}

	public void setDynastyId(int dynastyId)
	{
		this.dynastyId = dynastyId;
	}

	public String getName()
	{
		return name;
	}

	public void setName(String name)
	{
		this.name = name;
	}

	public String getContent()
	{
		return content;
	}

	public void setContent(String content)
	{
		this.content = content;
	}

	public String getMiaoHao()
	{
		return miaoHao;
	}

	public void setMiaoHao(String miaoHao)
	{
		this.miaoHao = miaoHao;
	}

	public String getNianHao()
	{
		return nianHao;
	}

	public void setNianHao(String nianHao)
	{
		this.nianHao = nianHao;
	}

	public int getAge()
	{
		return age;
	}

	public void setAge(int age)
	{
		this.age = age;
	}

	public byte getStatus()
	{
		return status;
	}

	public void setStatus(byte status)
	{
		this.status = status;
	}

	public Date getCreateTime()
	{
		return createTime;
	}

	public void setCreateTime(Date createTime)
	{
		this.createTime = createTime;
	}

	public Date getUpdateTime()
	{
		return updateTime;
	}

	public void setUpdateTime(Date updateTime)
	{
		this.updateTime = updateTime;
	}

	public Date getPubTime()
	{
		return pubTime;
	}

	public void setPubTime(Date pubTime)
	{
		this.pubTime = pubTime;
	}

	public ADemoDynasty getDemoDynasty()
	{
		return demoDynasty;
	}

	public void setDemoDynasty(ADemoDynasty demoDynasty)
	{
		this.demoDynasty = demoDynasty;
	}

}
